package com.chunhe.sojourn.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("t_dict")
public class Dict implements Serializable {

    private static final long serialVersionUID = 7780820231535870010L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String title;

    private String dictValue;

    private Integer orderNum;

    private String category;

    private transient Integer value;

    public Integer getValue() {
        return id;
    }
}
